package com.oak.broke.model.vip.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * @author tanghan
 * @email broke@gmail.com
 * @date 2023-04-12 17:02:57
 */
@Data
@TableName("pcgl_vip_open_record")
public class VipOpenRecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String vipOpenRecordId;
    /**
     * 关联用户code
     */
    private String userRelationCode;
    /**
     * 会员用户类型
     */
    private String vipUserType;
    /**
     * 续费时间
     */
    private Date renewalTime;
    /**
     * 续费时长：按月算
     */
    private Integer renewalDuration;
    /**
     * 会员到期日期
     */
    private Date vipExpireDate;
    /**
     * 续费金额
     */
    private BigDecimal renewalMoney;
    /**
     * 创建人（处理人）code
     */
    private String createUserCode;
    /**
     * 创建人姓名
     */
    private String createUsername;
    /**
     * 创建时间
     */
    private Date createTime;

}
